package com.oracle.service.imp;

import com.oracle.mapper.BRegisterMapper;
import com.oracle.service.BregisterService;
import com.oracle.vo.Boy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: CampusMatching
 * @description:
 * @author: zhaolei
 * @create: 2020-07-31 20:24
 **/
@Service
public class BregisterServiceImp implements BregisterService {

    @Autowired
    BRegisterMapper bRegisterMapper;


    @Override
    public void insertboy(Boy boy) {
        bRegisterMapper.insertboy(boy);
    }

    @Override
    public List<Boy> selectboy(Boy boy) {
        List<Boy> list=bRegisterMapper.selectboy(boy);
        return list;
    }
}
